package com.example.department.mapper;

import com.example.department.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmpMapper {
    //    @Select("select * from emp where username=#{username} and password=#{password}")
//    static Emp login(Emp emp) {
//        return null;
//    }
    @Select("select * from emp where username=#{username} and password=#{password}")
     Emp login(Emp emp);
}
